package com.black.gateway.permission.service;

/**
 * @author linwenfeng
 */
public interface PermissionHandlerService {


    boolean isWhitePath(String path);

    boolean isRefreshPermissionPath(String path);

    boolean isRefreshWithPath(String path);

    String getPermissionPath(String path);

    boolean isHavePermission(String permissionPath, Long userId);

    void initAllRouterPermissionsData(int seconds);

    void initAllWhitePath(int seconds);

}
